#include "sensor.h"

Sensor::Sensor(int id ,Rational latitude,Rational temperature):
		_id(id),_latitude(latitude), _temperature(temperature) {};


void Sensor::SetTemperature(Rational newTemp) {
	_temperature = newTemp;
}

Rational Sensor::GetTemperature() const {
	return _temperature;
}

Rational Sensor::GetLatitude() const {
	return _latitude;
}
